package com.pphh.demo;


import com.pphh.demo.metric.MetricsFactory;

/**
 * Please add description here.
 *
 * @author huangyinhuang
 * @date 11/6/2018
 */
public class Demo {

    public static void main(String args[]) {
        MetricsFactory.getInstance().startReporter();

        MetricsTest test = new MetricsTest();
        for (int i = 0; i < 100; i++) {
            test.run();
        }

        MetricsFactory.getInstance().stopReporter();
    }

}
